﻿package com.flippy.fl.commands {		/**	 */	 	import com.adobe.cairngorm.commands.ICommand;	import com.adobe.cairngorm.control.CairngormEvent;		import com.flippy.fl.model.FlippyModelLocator;	import com.flippy.fl.model.Main;	import com.flippy.fl.business.NetConnectionDelegate;			/**	 * Close the connection with the RTMP server.	 * 	 */		public class CloseConnectionCommand implements ICommand 	{			/**		* 		*/				private var model : FlippyModelLocator = FlippyModelLocator.getInstance();			 	/**	 	* 	 	*/			 	private var main : Main = model.main;	 		 	/**	 	* 	 	*/	 		 	private var netConnectionDelegate : NetConnectionDelegate = main.bncDelegate;	 	 	 	/**	 	 * 	 	 * @param cgEvent	 	 */	 		 	public function execute( cgEvent : CairngormEvent ) : void	    { 			// Close previous connection with Delegate.	      	netConnectionDelegate.close();		}	}}